//
//  Criteria.h
//  EasyTip
//
//  Created by Jeffrey Palm on 2/14/09.
//  Copyright 2009 Jeffrey Palm. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HasName.h"

@class Category;

@interface Criteria : HasName {
	
	// These are optional
	NSString *description;
	NSString *imageName;
	
	@private
	int				 value;
	Category	*parent;
}

@property (nonatomic,retain)	NSString	*description;
@property (nonatomic,retain)	NSString	*imageName;
@property (nonatomic)					int				value;
@property (nonatomic,retain)	Category	*parent;

-(id)initWithNameAndValue:(NSString*)theName value:(int)v parent:(Category*)p;

@end
